<!-- loading necessary css 
-->

<div id="login_form" style='display:none' class="simpleModal" >
	
		<div id="status" align="left">
		<center><h1><?php echo image_asset('key.png','login_modal'); ?>&nbsp;<?php echo lang('login_title')?></h1> 
		
		<div id="login_response">
			<div id="notification_error"><?php echo $this->session->flashdata('errorMessage'); ?></div> 
		</div>	
		</center>
		
		<form id="login" method="post"  action="<?php echo site_url($destination); ?>">

		<label><?php echo lang('login_user')?></label><input type="text" name="user"><br />  
		<label><?php echo lang('login_password')?></label><input type="password" name="password"><br />  
		<label>&nbsp;</label><input value="Login" name="Login" id="submit" class="big" type="submit" />
		
		<div id="ajax_loading">
		<?php echo image_asset('spinner.gif','login_modal',array("align" => "absmiddle")); ?>&nbsp;Procesando...
		</div>
		<div id="languageSelect" align="right">
			<?php  
				echo br(2);
				echo anchor('/welcome/setLanguage/spanish',image_asset("mex_lang.png",'',array('alt'=>'Español')),'Español');
				echo anchor('/welcome/setLanguage/english',image_asset("eua_lang.png",'',array('alt'=>'Inglés')),'Inglés');
			?>	
		</div>
		</form>
		</div>
	
</div>
